import django_filters
from django_filters.rest_framework import FilterSet
from tag.models import Tags


class TagsFilter(FilterSet):
    name = django_filters.CharFilter(field_name='name')

    class Meta:
        model = Tags
        fields = ('name', )
